package com.shijimo.server.enums;

/**
 * @author Dream_飞翔
 * @date 2021/11/1
 * @time 19:36
 * @email 1072876976@qq.com
 */
public enum CourseChargeEnum {
    // 英文的全称是给开发人员用的
    CHARGE("C", "收费"),
    FREE("F", "免费");

    // 枚举字符
    private String code;
    // 字符定义的描述
    private String desc;

    CourseChargeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
